<table style="width:100%;" class="tableList" cellspacing="0" cellpadding="2">
<thead>
	<tr>
		<th>Name</th>
		<th>Klasse</th>
		<th>Pfad</th>
		<th>Objekte darunter</th>
		<th width="20">&nbsp;</th>
		<th width="20">&nbsp;</th>
	</tr>
</thead>
{foreach from=$deleted_objects item=obj}
	<tr>
		<td>{$obj.obj_name_name|truncate:33:"..."}&nbsp;</td>
		<td>[{$obj.class_name|truncate:12:"..."}]</td>
		<td>
			{foreach name="pathloop" from=$obj.path item=path}
				{if !$smarty.foreach.pathloop.last}
					{if (($smarty.foreach.pathloop.total >= 3) AND ( ($smarty.foreach.pathloop.total-3) < $smarty.foreach.pathloop.iteration)) OR ($smarty.foreach.pathloop.first)}
						/{$path.obj_name}
					{else}
						/...
					{/if}
				{/if}
			{/foreach}
		</td>
		<td>{$obj.count}</td>
		<td><a href="javascript:void(0);" onclick="{literal}xajax.request({ccdsclass:'ccdsTrash',ccdsfun:'TrashRestore'},{parameters:[{obj_id:'{/literal}{$obj.obj_id}{literal}'}]});{/literal}" title="wiederherstellen"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/page_refresh.png" alt="wiederherstellen" border="0" /></a></td>
		<td><a href="javascript:void(0);" onclick="CMS.TrashConfirm({$obj.obj_id},'Wollen Sie das Objekt wirklich l&ouml;schen?');" title="löschen"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/page_delete.png" alt="löschen" border="0" /></a></td>
</tr>
{/foreach}
</table>

